import { http } from '@/utils/http';
import type { MealKindType } from '@/types/mealkind';

export const getMealKindsAPI = () => {
  return http<MealKindType[]>({
    url: '/mealkinds',
    method: 'GET',
  });
};

export const getMealByMealKind = () => {
  return http<MealKindType[]>({
    url: '/mealkinds/all',
    method: 'GET',
  });
};
